/**
 *  iBizSys 5.0 机器人生产代码（不要直接修改当前代码）
 *  http://www.ibizsys.net
 */
package com.sa.litetwo.srv.card.entity;


import java.io.Serializable;
import java.util.HashMap;
import java.util.ArrayList;

import javax.persistence.Column;

import java.sql.Timestamp;
import net.ibizsys.paas.data.IDataObject;
import net.ibizsys.paas.data.DataObject;
import net.ibizsys.paas.util.StringHelper;
import net.sf.json.JSONObject;
import net.ibizsys.paas.util.JSONObjectHelper;
import net.ibizsys.paas.xml.XmlNode;
import net.ibizsys.paas.service.ServiceGlobal;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


/**
 * 实体[GG_WORK] 数据对象
 */
public class GG_WORK extends net.ibizsys.paas.entity.EntityBase implements Serializable {

   private static final long serialVersionUID = -1L;
   private static final Log log = LogFactory.getLog(GG_WORK.class); 
   /**
    *   实体属性标识[工作标识]
    */
   public final static String FIELD_GG_WORKID = "GG_WORKID";
   /**
    *   实体属性标识[公司/单位名称]
    */
   public final static String FIELD_GG_WORKNAME = "GG_WORKNAME";
   /**
    *   实体属性标识[建立时间]
    */
   public final static String FIELD_CREATEDATE = "CREATEDATE";
   /**
    *   实体属性标识[建立人]
    */
   public final static String FIELD_CREATEMAN = "CREATEMAN";
   /**
    *   实体属性标识[更新时间]
    */
   public final static String FIELD_UPDATEDATE = "UPDATEDATE";
   /**
    *   实体属性标识[更新人]
    */
   public final static String FIELD_UPDATEMAN = "UPDATEMAN";
   /**
    *   实体属性标识[人员]
    */
   public final static String FIELD_CARDID = "CARDID";
   /**
    *   实体属性标识[时间]
    */
   public final static String FIELD_KSSJ = "KSSJ";
   /**
    *   实体属性标识[到]
    */
   public final static String FIELD_JSSJ = "JSSJ";
   /**
    *   实体属性标识[职位]
    */
   public final static String FIELD_ZW = "ZW";
   /**
    *   实体属性标识[单位性质]
    */
   public final static String FIELD_DWXZ = "DWXZ";
   /**
    *   实体属性标识[部门]
    */
   public final static String FIELD_BM = "BM";
   /**
    *   实体属性标识[单位规模]
    */
   public final static String FIELD_DWGM = "DWGM";
   /**
    *   实体属性标识[工作描述]
    */
   public final static String FIELD_GZMS = "GZMS";
   /**
    *   实体属性标识[工作类型]
    */
   public final static String FIELD_GZLX = "GZLX";
   /**
    *   实体属性标识[行业]
    */
   public final static String FIELD_HY = "HY";
   /**
    *   实体属性标识[职能]
    */
   public final static String FIELD_ZN = "ZN";
   /**
    *   实体属性标识[下属人数]
    */
   public final static String FIELD_XSRS = "XSRS";
   /**
    *   实体属性标识[汇报对象]
    */
   public final static String FIELD_HBDX = "HBDX";
   /**
    *   实体属性标识[离职原因]
    */
   public final static String FIELD_LZYY = "LZYY";
   /**
    *   实体属性标识[主要业绩]
    */
   public final static String FIELD_ZYYJ = "ZYYJ";
   /**
    *   实体属性标识[海外经历]
    */
   public final static String FIELD_HWJL = "HWJL";

   private final static int INDEX_GG_WORKID = 0;
   private final static int INDEX_GG_WORKNAME = 1;
   private final static int INDEX_CREATEDATE = 2;
   private final static int INDEX_CREATEMAN = 3;
   private final static int INDEX_UPDATEDATE = 4;
   private final static int INDEX_UPDATEMAN = 5;
   private final static int INDEX_CARDID = 6;
   private final static int INDEX_KSSJ = 7;
   private final static int INDEX_JSSJ = 8;
   private final static int INDEX_ZW = 9;
   private final static int INDEX_DWXZ = 10;
   private final static int INDEX_BM = 11;
   private final static int INDEX_DWGM = 12;
   private final static int INDEX_GZMS = 13;
   private final static int INDEX_GZLX = 14;
   private final static int INDEX_HY = 15;
   private final static int INDEX_ZN = 16;
   private final static int INDEX_XSRS = 17;
   private final static int INDEX_HBDX = 18;
   private final static int INDEX_LZYY = 19;
   private final static int INDEX_ZYYJ = 20;
   private final static int INDEX_HWJL = 21;

   private final static HashMap<String, Integer> fieldIndexMap = new HashMap<String, Integer>();
   static
   {
       fieldIndexMap.put( FIELD_GG_WORKID, INDEX_GG_WORKID);
       fieldIndexMap.put( FIELD_GG_WORKNAME, INDEX_GG_WORKNAME);
       fieldIndexMap.put( FIELD_CREATEDATE, INDEX_CREATEDATE);
       fieldIndexMap.put( FIELD_CREATEMAN, INDEX_CREATEMAN);
       fieldIndexMap.put( FIELD_UPDATEDATE, INDEX_UPDATEDATE);
       fieldIndexMap.put( FIELD_UPDATEMAN, INDEX_UPDATEMAN);
       fieldIndexMap.put( FIELD_CARDID, INDEX_CARDID);
       fieldIndexMap.put( FIELD_KSSJ, INDEX_KSSJ);
       fieldIndexMap.put( FIELD_JSSJ, INDEX_JSSJ);
       fieldIndexMap.put( FIELD_ZW, INDEX_ZW);
       fieldIndexMap.put( FIELD_DWXZ, INDEX_DWXZ);
       fieldIndexMap.put( FIELD_BM, INDEX_BM);
       fieldIndexMap.put( FIELD_DWGM, INDEX_DWGM);
       fieldIndexMap.put( FIELD_GZMS, INDEX_GZMS);
       fieldIndexMap.put( FIELD_GZLX, INDEX_GZLX);
       fieldIndexMap.put( FIELD_HY, INDEX_HY);
       fieldIndexMap.put( FIELD_ZN, INDEX_ZN);
       fieldIndexMap.put( FIELD_XSRS, INDEX_XSRS);
       fieldIndexMap.put( FIELD_HBDX, INDEX_HBDX);
       fieldIndexMap.put( FIELD_LZYY, INDEX_LZYY);
       fieldIndexMap.put( FIELD_ZYYJ, INDEX_ZYYJ);
       fieldIndexMap.put( FIELD_HWJL, INDEX_HWJL);
   }
   
   private GG_WORK proxyGG_WORK = null;

   public GG_WORK(){
        super();
   }
   private boolean gg_workidDirtyFlag = false;
   private boolean gg_worknameDirtyFlag = false;
   private boolean createdateDirtyFlag = false;
   private boolean createmanDirtyFlag = false;
   private boolean updatedateDirtyFlag = false;
   private boolean updatemanDirtyFlag = false;
   private boolean cardidDirtyFlag = false;
   private boolean kssjDirtyFlag = false;
   private boolean jssjDirtyFlag = false;
   private boolean zwDirtyFlag = false;
   private boolean dwxzDirtyFlag = false;
   private boolean bmDirtyFlag = false;
   private boolean dwgmDirtyFlag = false;
   private boolean gzmsDirtyFlag = false;
   private boolean gzlxDirtyFlag = false;
   private boolean hyDirtyFlag = false;
   private boolean znDirtyFlag = false;
   private boolean xsrsDirtyFlag = false;
   private boolean hbdxDirtyFlag = false;
   private boolean lzyyDirtyFlag = false;
   private boolean zyyjDirtyFlag = false;
   private boolean hwjlDirtyFlag = false;

    @Column(name="gg_workid")
    private String gg_workid;
    @Column(name="gg_workname")
    private String gg_workname;
    @Column(name="createdate")
    private Timestamp createdate;
    @Column(name="createman")
    private String createman;
    @Column(name="updatedate")
    private Timestamp updatedate;
    @Column(name="updateman")
    private String updateman;
    @Column(name="cardid")
    private String cardid;
    @Column(name="kssj")
    private Timestamp kssj;
    @Column(name="jssj")
    private Timestamp jssj;
    @Column(name="zw")
    private String zw;
    @Column(name="dwxz")
    private String dwxz;
    @Column(name="bm")
    private String bm;
    @Column(name="dwgm")
    private Integer dwgm;
    @Column(name="gzms")
    private String gzms;
    @Column(name="gzlx")
    private String gzlx;
    @Column(name="hy")
    private String hy;
    @Column(name="zn")
    private String zn;
    @Column(name="xsrs")
    private Integer xsrs;
    @Column(name="hbdx")
    private String hbdx;
    @Column(name="lzyy")
    private String lzyy;
    @Column(name="zyyj")
    private String zyyj;
    @Column(name="hwjl")
    private Integer hwjl;

   
    /**
     *  设置属性值[工作标识]
     *  @param gg_workid
     */
    public void setGG_WORKId(String gg_workid){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setGG_WORKId(gg_workid);
    		return;
    	}
        if(gg_workid!=null)
        {
        	gg_workid = StringHelper.trimRight(gg_workid);
        	if(gg_workid.length()==0){
        		gg_workid = null;
        	}
        }
        this.gg_workid =  gg_workid; 
        this.gg_workidDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[工作标识]
     */
    public String getGG_WORKId(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getGG_WORKId();
    	}
        return this.gg_workid;
    }

    /**
     *  获取属性值[工作标识]是否修改
     */
    public boolean isGG_WORKIdDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isGG_WORKIdDirty();
    	}
        return this.gg_workidDirtyFlag;
    }

    /**
     *  重置属性值[工作标识]
     */
    public void resetGG_WORKId(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetGG_WORKId();
    		 return;
    	}
    	
        this.gg_workidDirtyFlag = false;
        this.gg_workid = null;
    }
    /**
     *  设置属性值[公司/单位名称]
     *  @param gg_workname
     */
    public void setGG_WORKName(String gg_workname){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setGG_WORKName(gg_workname);
    		return;
    	}
        if(gg_workname!=null)
        {
        	gg_workname = StringHelper.trimRight(gg_workname);
        	if(gg_workname.length()==0){
        		gg_workname = null;
        	}
        }
        this.gg_workname =  gg_workname; 
        this.gg_worknameDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[公司/单位名称]
     */
    public String getGG_WORKName(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getGG_WORKName();
    	}
        return this.gg_workname;
    }

    /**
     *  获取属性值[公司/单位名称]是否修改
     */
    public boolean isGG_WORKNameDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isGG_WORKNameDirty();
    	}
        return this.gg_worknameDirtyFlag;
    }

    /**
     *  重置属性值[公司/单位名称]
     */
    public void resetGG_WORKName(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetGG_WORKName();
    		 return;
    	}
    	
        this.gg_worknameDirtyFlag = false;
        this.gg_workname = null;
    }
    /**
     *  设置属性值[建立时间]
     *  @param createdate
     */
    public void setCreateDate(Timestamp createdate){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setCreateDate(createdate);
    		return;
    	}
        this.createdate =  createdate; 
        this.createdateDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[建立时间]
     */
    public Timestamp getCreateDate(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getCreateDate();
    	}
        return this.createdate;
    }

    /**
     *  获取属性值[建立时间]是否修改
     */
    public boolean isCreateDateDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isCreateDateDirty();
    	}
        return this.createdateDirtyFlag;
    }

    /**
     *  重置属性值[建立时间]
     */
    public void resetCreateDate(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetCreateDate();
    		 return;
    	}
    	
        this.createdateDirtyFlag = false;
        this.createdate = null;
    }
    /**
     *  设置属性值[建立人]代码表：com.sa.litetwo.srv.codelist.SysOperatorCodeListModel
     *  @param createman
     */
    public void setCreateMan(String createman){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setCreateMan(createman);
    		return;
    	}
        if(createman!=null)
        {
        	createman = StringHelper.trimRight(createman);
        	if(createman.length()==0){
        		createman = null;
        	}
        }
        this.createman =  createman; 
        this.createmanDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[建立人]代码表：com.sa.litetwo.srv.codelist.SysOperatorCodeListModel
     */
    public String getCreateMan(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getCreateMan();
    	}
        return this.createman;
    }

    /**
     *  获取属性值[建立人]是否修改
     */
    public boolean isCreateManDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isCreateManDirty();
    	}
        return this.createmanDirtyFlag;
    }

    /**
     *  重置属性值[建立人]
     */
    public void resetCreateMan(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetCreateMan();
    		 return;
    	}
    	
        this.createmanDirtyFlag = false;
        this.createman = null;
    }
    /**
     *  设置属性值[更新时间]
     *  @param updatedate
     */
    public void setUpdateDate(Timestamp updatedate){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setUpdateDate(updatedate);
    		return;
    	}
        this.updatedate =  updatedate; 
        this.updatedateDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[更新时间]
     */
    public Timestamp getUpdateDate(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getUpdateDate();
    	}
        return this.updatedate;
    }

    /**
     *  获取属性值[更新时间]是否修改
     */
    public boolean isUpdateDateDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isUpdateDateDirty();
    	}
        return this.updatedateDirtyFlag;
    }

    /**
     *  重置属性值[更新时间]
     */
    public void resetUpdateDate(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetUpdateDate();
    		 return;
    	}
    	
        this.updatedateDirtyFlag = false;
        this.updatedate = null;
    }
    /**
     *  设置属性值[更新人]代码表：com.sa.litetwo.srv.codelist.SysOperatorCodeListModel
     *  @param updateman
     */
    public void setUpdateMan(String updateman){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setUpdateMan(updateman);
    		return;
    	}
        if(updateman!=null)
        {
        	updateman = StringHelper.trimRight(updateman);
        	if(updateman.length()==0){
        		updateman = null;
        	}
        }
        this.updateman =  updateman; 
        this.updatemanDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[更新人]代码表：com.sa.litetwo.srv.codelist.SysOperatorCodeListModel
     */
    public String getUpdateMan(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getUpdateMan();
    	}
        return this.updateman;
    }

    /**
     *  获取属性值[更新人]是否修改
     */
    public boolean isUpdateManDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isUpdateManDirty();
    	}
        return this.updatemanDirtyFlag;
    }

    /**
     *  重置属性值[更新人]
     */
    public void resetUpdateMan(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetUpdateMan();
    		 return;
    	}
    	
        this.updatemanDirtyFlag = false;
        this.updateman = null;
    }
    /**
     *  设置属性值[人员]
     *  @param cardid
     */
    public void setCARDID(String cardid){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setCARDID(cardid);
    		return;
    	}
        if(cardid!=null)
        {
        	cardid = StringHelper.trimRight(cardid);
        	if(cardid.length()==0){
        		cardid = null;
        	}
        }
        this.cardid =  cardid; 
        this.cardidDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[人员]
     */
    public String getCARDID(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getCARDID();
    	}
        return this.cardid;
    }

    /**
     *  获取属性值[人员]是否修改
     */
    public boolean isCARDIDDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isCARDIDDirty();
    	}
        return this.cardidDirtyFlag;
    }

    /**
     *  重置属性值[人员]
     */
    public void resetCARDID(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetCARDID();
    		 return;
    	}
    	
        this.cardidDirtyFlag = false;
        this.cardid = null;
    }
    /**
     *  设置属性值[时间]
     *  @param kssj
     */
    public void setKSSJ(Timestamp kssj){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setKSSJ(kssj);
    		return;
    	}
        this.kssj =  kssj; 
        this.kssjDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[时间]
     */
    public Timestamp getKSSJ(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getKSSJ();
    	}
        return this.kssj;
    }

    /**
     *  获取属性值[时间]是否修改
     */
    public boolean isKSSJDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isKSSJDirty();
    	}
        return this.kssjDirtyFlag;
    }

    /**
     *  重置属性值[时间]
     */
    public void resetKSSJ(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetKSSJ();
    		 return;
    	}
    	
        this.kssjDirtyFlag = false;
        this.kssj = null;
    }
    /**
     *  设置属性值[到]
     *  @param jssj
     */
    public void setJSSJ(Timestamp jssj){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setJSSJ(jssj);
    		return;
    	}
        this.jssj =  jssj; 
        this.jssjDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[到]
     */
    public Timestamp getJSSJ(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getJSSJ();
    	}
        return this.jssj;
    }

    /**
     *  获取属性值[到]是否修改
     */
    public boolean isJSSJDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isJSSJDirty();
    	}
        return this.jssjDirtyFlag;
    }

    /**
     *  重置属性值[到]
     */
    public void resetJSSJ(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetJSSJ();
    		 return;
    	}
    	
        this.jssjDirtyFlag = false;
        this.jssj = null;
    }
    /**
     *  设置属性值[职位]
     *  @param zw
     */
    public void setZW(String zw){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setZW(zw);
    		return;
    	}
        if(zw!=null)
        {
        	zw = StringHelper.trimRight(zw);
        	if(zw.length()==0){
        		zw = null;
        	}
        }
        this.zw =  zw; 
        this.zwDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[职位]
     */
    public String getZW(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getZW();
    	}
        return this.zw;
    }

    /**
     *  获取属性值[职位]是否修改
     */
    public boolean isZWDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isZWDirty();
    	}
        return this.zwDirtyFlag;
    }

    /**
     *  重置属性值[职位]
     */
    public void resetZW(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetZW();
    		 return;
    	}
    	
        this.zwDirtyFlag = false;
        this.zw = null;
    }
    /**
     *  设置属性值[单位性质]代码表：com.sa.litetwo.srv.codelist.CLGG_DWXZCodeListModel
     *  @param dwxz
     */
    public void setDWXZ(String dwxz){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setDWXZ(dwxz);
    		return;
    	}
        if(dwxz!=null)
        {
        	dwxz = StringHelper.trimRight(dwxz);
        	if(dwxz.length()==0){
        		dwxz = null;
        	}
        }
        this.dwxz =  dwxz; 
        this.dwxzDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[单位性质]代码表：com.sa.litetwo.srv.codelist.CLGG_DWXZCodeListModel
     */
    public String getDWXZ(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getDWXZ();
    	}
        return this.dwxz;
    }

    /**
     *  获取属性值[单位性质]是否修改
     */
    public boolean isDWXZDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isDWXZDirty();
    	}
        return this.dwxzDirtyFlag;
    }

    /**
     *  重置属性值[单位性质]
     */
    public void resetDWXZ(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetDWXZ();
    		 return;
    	}
    	
        this.dwxzDirtyFlag = false;
        this.dwxz = null;
    }
    /**
     *  设置属性值[部门]
     *  @param bm
     */
    public void setBM(String bm){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setBM(bm);
    		return;
    	}
        if(bm!=null)
        {
        	bm = StringHelper.trimRight(bm);
        	if(bm.length()==0){
        		bm = null;
        	}
        }
        this.bm =  bm; 
        this.bmDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[部门]
     */
    public String getBM(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getBM();
    	}
        return this.bm;
    }

    /**
     *  获取属性值[部门]是否修改
     */
    public boolean isBMDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isBMDirty();
    	}
        return this.bmDirtyFlag;
    }

    /**
     *  重置属性值[部门]
     */
    public void resetBM(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetBM();
    		 return;
    	}
    	
        this.bmDirtyFlag = false;
        this.bm = null;
    }
    /**
     *  设置属性值[单位规模]代码表：com.sa.litetwo.srv.codelist.CLGG_DWGMCodeListModel
     *  @param dwgm
     */
    public void setDWGM(Integer dwgm){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setDWGM(dwgm);
    		return;
    	}
        this.dwgm =  dwgm; 
        this.dwgmDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[单位规模]代码表：com.sa.litetwo.srv.codelist.CLGG_DWGMCodeListModel
     */
    public Integer getDWGM(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getDWGM();
    	}
        return this.dwgm;
    }

    /**
     *  获取属性值[单位规模]是否修改
     */
    public boolean isDWGMDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isDWGMDirty();
    	}
        return this.dwgmDirtyFlag;
    }

    /**
     *  重置属性值[单位规模]
     */
    public void resetDWGM(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetDWGM();
    		 return;
    	}
    	
        this.dwgmDirtyFlag = false;
        this.dwgm = null;
    }
    /**
     *  设置属性值[工作描述]
     *  @param gzms
     */
    public void setGZMS(String gzms){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setGZMS(gzms);
    		return;
    	}
        if(gzms!=null)
        {
        	gzms = StringHelper.trimRight(gzms);
        	if(gzms.length()==0){
        		gzms = null;
        	}
        }
        this.gzms =  gzms; 
        this.gzmsDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[工作描述]
     */
    public String getGZMS(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getGZMS();
    	}
        return this.gzms;
    }

    /**
     *  获取属性值[工作描述]是否修改
     */
    public boolean isGZMSDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isGZMSDirty();
    	}
        return this.gzmsDirtyFlag;
    }

    /**
     *  重置属性值[工作描述]
     */
    public void resetGZMS(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetGZMS();
    		 return;
    	}
    	
        this.gzmsDirtyFlag = false;
        this.gzms = null;
    }
    /**
     *  设置属性值[工作类型]代码表：com.sa.litetwo.srv.codelist.CLGG_GZLXCodeListModel
     *  @param gzlx
     */
    public void setGZLX(String gzlx){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setGZLX(gzlx);
    		return;
    	}
        if(gzlx!=null)
        {
        	gzlx = StringHelper.trimRight(gzlx);
        	if(gzlx.length()==0){
        		gzlx = null;
        	}
        }
        this.gzlx =  gzlx; 
        this.gzlxDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[工作类型]代码表：com.sa.litetwo.srv.codelist.CLGG_GZLXCodeListModel
     */
    public String getGZLX(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getGZLX();
    	}
        return this.gzlx;
    }

    /**
     *  获取属性值[工作类型]是否修改
     */
    public boolean isGZLXDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isGZLXDirty();
    	}
        return this.gzlxDirtyFlag;
    }

    /**
     *  重置属性值[工作类型]
     */
    public void resetGZLX(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetGZLX();
    		 return;
    	}
    	
        this.gzlxDirtyFlag = false;
        this.gzlx = null;
    }
    /**
     *  设置属性值[行业]
     *  @param hy
     */
    public void setHY(String hy){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setHY(hy);
    		return;
    	}
        if(hy!=null)
        {
        	hy = StringHelper.trimRight(hy);
        	if(hy.length()==0){
        		hy = null;
        	}
        }
        this.hy =  hy; 
        this.hyDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[行业]
     */
    public String getHY(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getHY();
    	}
        return this.hy;
    }

    /**
     *  获取属性值[行业]是否修改
     */
    public boolean isHYDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isHYDirty();
    	}
        return this.hyDirtyFlag;
    }

    /**
     *  重置属性值[行业]
     */
    public void resetHY(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetHY();
    		 return;
    	}
    	
        this.hyDirtyFlag = false;
        this.hy = null;
    }
    /**
     *  设置属性值[职能]
     *  @param zn
     */
    public void setZN(String zn){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setZN(zn);
    		return;
    	}
        if(zn!=null)
        {
        	zn = StringHelper.trimRight(zn);
        	if(zn.length()==0){
        		zn = null;
        	}
        }
        this.zn =  zn; 
        this.znDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[职能]
     */
    public String getZN(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getZN();
    	}
        return this.zn;
    }

    /**
     *  获取属性值[职能]是否修改
     */
    public boolean isZNDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isZNDirty();
    	}
        return this.znDirtyFlag;
    }

    /**
     *  重置属性值[职能]
     */
    public void resetZN(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetZN();
    		 return;
    	}
    	
        this.znDirtyFlag = false;
        this.zn = null;
    }
    /**
     *  设置属性值[下属人数]
     *  @param xsrs
     */
    public void setXSRS(Integer xsrs){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setXSRS(xsrs);
    		return;
    	}
        this.xsrs =  xsrs; 
        this.xsrsDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[下属人数]
     */
    public Integer getXSRS(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getXSRS();
    	}
        return this.xsrs;
    }

    /**
     *  获取属性值[下属人数]是否修改
     */
    public boolean isXSRSDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isXSRSDirty();
    	}
        return this.xsrsDirtyFlag;
    }

    /**
     *  重置属性值[下属人数]
     */
    public void resetXSRS(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetXSRS();
    		 return;
    	}
    	
        this.xsrsDirtyFlag = false;
        this.xsrs = null;
    }
    /**
     *  设置属性值[汇报对象]
     *  @param hbdx
     */
    public void setHBDX(String hbdx){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setHBDX(hbdx);
    		return;
    	}
        if(hbdx!=null)
        {
        	hbdx = StringHelper.trimRight(hbdx);
        	if(hbdx.length()==0){
        		hbdx = null;
        	}
        }
        this.hbdx =  hbdx; 
        this.hbdxDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[汇报对象]
     */
    public String getHBDX(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getHBDX();
    	}
        return this.hbdx;
    }

    /**
     *  获取属性值[汇报对象]是否修改
     */
    public boolean isHBDXDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isHBDXDirty();
    	}
        return this.hbdxDirtyFlag;
    }

    /**
     *  重置属性值[汇报对象]
     */
    public void resetHBDX(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetHBDX();
    		 return;
    	}
    	
        this.hbdxDirtyFlag = false;
        this.hbdx = null;
    }
    /**
     *  设置属性值[离职原因]
     *  @param lzyy
     */
    public void setLZYY(String lzyy){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setLZYY(lzyy);
    		return;
    	}
        if(lzyy!=null)
        {
        	lzyy = StringHelper.trimRight(lzyy);
        	if(lzyy.length()==0){
        		lzyy = null;
        	}
        }
        this.lzyy =  lzyy; 
        this.lzyyDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[离职原因]
     */
    public String getLZYY(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getLZYY();
    	}
        return this.lzyy;
    }

    /**
     *  获取属性值[离职原因]是否修改
     */
    public boolean isLZYYDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isLZYYDirty();
    	}
        return this.lzyyDirtyFlag;
    }

    /**
     *  重置属性值[离职原因]
     */
    public void resetLZYY(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetLZYY();
    		 return;
    	}
    	
        this.lzyyDirtyFlag = false;
        this.lzyy = null;
    }
    /**
     *  设置属性值[主要业绩]
     *  @param zyyj
     */
    public void setZYYJ(String zyyj){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setZYYJ(zyyj);
    		return;
    	}
        if(zyyj!=null)
        {
        	zyyj = StringHelper.trimRight(zyyj);
        	if(zyyj.length()==0){
        		zyyj = null;
        	}
        }
        this.zyyj =  zyyj; 
        this.zyyjDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[主要业绩]
     */
    public String getZYYJ(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getZYYJ();
    	}
        return this.zyyj;
    }

    /**
     *  获取属性值[主要业绩]是否修改
     */
    public boolean isZYYJDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isZYYJDirty();
    	}
        return this.zyyjDirtyFlag;
    }

    /**
     *  重置属性值[主要业绩]
     */
    public void resetZYYJ(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetZYYJ();
    		 return;
    	}
    	
        this.zyyjDirtyFlag = false;
        this.zyyj = null;
    }
    /**
     *  设置属性值[海外经历]代码表：com.sa.litetwo.srv.codelist.YesNoCodeListModel
     *  @param hwjl
     */
    public void setHWJL(Integer hwjl){
    	
    	if(this.getProxyEntity()!=null){
    		this.getProxyEntity().setHWJL(hwjl);
    		return;
    	}
        this.hwjl =  hwjl; 
        this.hwjlDirtyFlag  = true;
    }
    
    /**
     *  获取属性值[海外经历]代码表：com.sa.litetwo.srv.codelist.YesNoCodeListModel
     */
    public Integer getHWJL(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().getHWJL();
    	}
        return this.hwjl;
    }

    /**
     *  获取属性值[海外经历]是否修改
     */
    public boolean isHWJLDirty(){
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().isHWJLDirty();
    	}
        return this.hwjlDirtyFlag;
    }

    /**
     *  重置属性值[海外经历]
     */
    public void resetHWJL(){
    	
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().resetHWJL();
    		 return;
    	}
    	
        this.hwjlDirtyFlag = false;
        this.hwjl = null;
    }

	/* (non-Javadoc)
	 * @see net.ibizsys.paas.entity.EntityBase#onReset()
	 */
    @Override
    protected void onReset()
    {
       GG_WORK.resetAll(this);
       super.onReset();
    }
    
    /**
     * 重置当前数据对象属性值
     * @param entity
     */
    private static void resetAll(GG_WORK et){
        et.resetGG_WORKId();
        et.resetGG_WORKName();
        et.resetCreateDate();
        et.resetCreateMan();
        et.resetUpdateDate();
        et.resetUpdateMan();
        et.resetCARDID();
        et.resetKSSJ();
        et.resetJSSJ();
        et.resetZW();
        et.resetDWXZ();
        et.resetBM();
        et.resetDWGM();
        et.resetGZMS();
        et.resetGZLX();
        et.resetHY();
        et.resetZN();
        et.resetXSRS();
        et.resetHBDX();
        et.resetLZYY();
        et.resetZYYJ();
        et.resetHWJL();
    }

     /* (non-Javadoc)
      * @see net.ibizsys.paas.entity.EntityBase#onFillMap(java.util.HashMap, boolean)
      */
    @Override
    protected void onFillMap(HashMap<String, Object> params, boolean bDirtyOnly)
    {
        if(!bDirtyOnly || isGG_WORKIdDirty()){
             params.put(FIELD_GG_WORKID,getGG_WORKId());
        } 
        if(!bDirtyOnly || isGG_WORKNameDirty()){
             params.put(FIELD_GG_WORKNAME,getGG_WORKName());
        } 
        if(!bDirtyOnly || isCreateDateDirty()){
             params.put(FIELD_CREATEDATE,getCreateDate());
        } 
        if(!bDirtyOnly || isCreateManDirty()){
             params.put(FIELD_CREATEMAN,getCreateMan());
        } 
        if(!bDirtyOnly || isUpdateDateDirty()){
             params.put(FIELD_UPDATEDATE,getUpdateDate());
        } 
        if(!bDirtyOnly || isUpdateManDirty()){
             params.put(FIELD_UPDATEMAN,getUpdateMan());
        } 
        if(!bDirtyOnly || isCARDIDDirty()){
             params.put(FIELD_CARDID,getCARDID());
        } 
        if(!bDirtyOnly || isKSSJDirty()){
             params.put(FIELD_KSSJ,getKSSJ());
        } 
        if(!bDirtyOnly || isJSSJDirty()){
             params.put(FIELD_JSSJ,getJSSJ());
        } 
        if(!bDirtyOnly || isZWDirty()){
             params.put(FIELD_ZW,getZW());
        } 
        if(!bDirtyOnly || isDWXZDirty()){
             params.put(FIELD_DWXZ,getDWXZ());
        } 
        if(!bDirtyOnly || isBMDirty()){
             params.put(FIELD_BM,getBM());
        } 
        if(!bDirtyOnly || isDWGMDirty()){
             params.put(FIELD_DWGM,getDWGM());
        } 
        if(!bDirtyOnly || isGZMSDirty()){
             params.put(FIELD_GZMS,getGZMS());
        } 
        if(!bDirtyOnly || isGZLXDirty()){
             params.put(FIELD_GZLX,getGZLX());
        } 
        if(!bDirtyOnly || isHYDirty()){
             params.put(FIELD_HY,getHY());
        } 
        if(!bDirtyOnly || isZNDirty()){
             params.put(FIELD_ZN,getZN());
        } 
        if(!bDirtyOnly || isXSRSDirty()){
             params.put(FIELD_XSRS,getXSRS());
        } 
        if(!bDirtyOnly || isHBDXDirty()){
             params.put(FIELD_HBDX,getHBDX());
        } 
        if(!bDirtyOnly || isLZYYDirty()){
             params.put(FIELD_LZYY,getLZYY());
        } 
        if(!bDirtyOnly || isZYYJDirty()){
             params.put(FIELD_ZYYJ,getZYYJ());
        } 
        if(!bDirtyOnly || isHWJLDirty()){
             params.put(FIELD_HWJL,getHWJL());
        } 
    	super.onFillMap(params, bDirtyOnly);
    }
   
    /* (non-Javadoc)
     * @see net.ibizsys.paas.data.DataObject#get(java.lang.String)
     */
    @Override
	public Object get(String strParamName) throws Exception
	{
    	if(this.getProxyEntity()!=null){
    		return this.getProxyEntity().get(strParamName);
    	}
    	
            if(StringHelper.isNullOrEmpty(strParamName))
                 throw new Exception("没有指定属性");
            Integer index=fieldIndexMap.get(strParamName.toUpperCase());
            if(index==null)
                 return super.get(strParamName);

                return  GG_WORK.get(this, index);
	}
    
    /**
     * 通过属性标识获取属性值
     * @param et 数据对象
     * @param index 属性标识
     * @return
     * @throws Exception
     */
    private static Object get(GG_WORK et,int index) throws Exception{
             
            switch(index)
    	    {
               case INDEX_GG_WORKID:return et.getGG_WORKId();
               case INDEX_GG_WORKNAME:return et.getGG_WORKName();
               case INDEX_CREATEDATE:return et.getCreateDate();
               case INDEX_CREATEMAN:return et.getCreateMan();
               case INDEX_UPDATEDATE:return et.getUpdateDate();
               case INDEX_UPDATEMAN:return et.getUpdateMan();
               case INDEX_CARDID:return et.getCARDID();
               case INDEX_KSSJ:return et.getKSSJ();
               case INDEX_JSSJ:return et.getJSSJ();
               case INDEX_ZW:return et.getZW();
               case INDEX_DWXZ:return et.getDWXZ();
               case INDEX_BM:return et.getBM();
               case INDEX_DWGM:return et.getDWGM();
               case INDEX_GZMS:return et.getGZMS();
               case INDEX_GZLX:return et.getGZLX();
               case INDEX_HY:return et.getHY();
               case INDEX_ZN:return et.getZN();
               case INDEX_XSRS:return et.getXSRS();
               case INDEX_HBDX:return et.getHBDX();
               case INDEX_LZYY:return et.getLZYY();
               case INDEX_ZYYJ:return et.getZYYJ();
               case INDEX_HWJL:return et.getHWJL();
    	       default:
    		     throw new Exception("不明属性标识");
    	    }
    }

    /* (non-Javadoc)
     * @see net.ibizsys.paas.data.DataObject#set(java.lang.String, java.lang.Object)
     */
    @Override
	public void set(String strParamName,Object objValue) throws Exception
	{
    	if(this.getProxyEntity()!=null){
    		 this.getProxyEntity().set(strParamName,objValue);
    		 return;
    	}
            if(StringHelper.isNullOrEmpty(strParamName))
                 throw new Exception("没有指定属性");

            Integer index=fieldIndexMap.get(strParamName.toUpperCase());
            if(index==null)
            {
                super.set(strParamName,objValue);
                return;
            }
            
            GG_WORK.set(this,index,objValue);
 	}

    /**
     * 通过属性标识设定属性值
     * @param et 数据对象
     * @param index 属性标识
     * @param obj 值
     * @throws Exception
     */
            private static void set(GG_WORK et,int index,Object obj) throws Exception
         {    
            switch(index)
    	    {
               case INDEX_GG_WORKID:et.setGG_WORKId(DataObject.getStringValue(obj));return ;
               case INDEX_GG_WORKNAME:et.setGG_WORKName(DataObject.getStringValue(obj));return ;
               case INDEX_CREATEDATE:et.setCreateDate(DataObject.getTimestampValue(obj));return ;
               case INDEX_CREATEMAN:et.setCreateMan(DataObject.getStringValue(obj));return ;
               case INDEX_UPDATEDATE:et.setUpdateDate(DataObject.getTimestampValue(obj));return ;
               case INDEX_UPDATEMAN:et.setUpdateMan(DataObject.getStringValue(obj));return ;
               case INDEX_CARDID:et.setCARDID(DataObject.getStringValue(obj));return ;
               case INDEX_KSSJ:et.setKSSJ(DataObject.getTimestampValue(obj));return ;
               case INDEX_JSSJ:et.setJSSJ(DataObject.getTimestampValue(obj));return ;
               case INDEX_ZW:et.setZW(DataObject.getStringValue(obj));return ;
               case INDEX_DWXZ:et.setDWXZ(DataObject.getStringValue(obj));return ;
               case INDEX_BM:et.setBM(DataObject.getStringValue(obj));return ;
               case INDEX_DWGM:et.setDWGM(DataObject.getIntegerValue(obj));return ;
               case INDEX_GZMS:et.setGZMS(DataObject.getStringValue(obj));return ;
               case INDEX_GZLX:et.setGZLX(DataObject.getStringValue(obj));return ;
               case INDEX_HY:et.setHY(DataObject.getStringValue(obj));return ;
               case INDEX_ZN:et.setZN(DataObject.getStringValue(obj));return ;
               case INDEX_XSRS:et.setXSRS(DataObject.getIntegerValue(obj));return ;
               case INDEX_HBDX:et.setHBDX(DataObject.getStringValue(obj));return ;
               case INDEX_LZYY:et.setLZYY(DataObject.getStringValue(obj));return ;
               case INDEX_ZYYJ:et.setZYYJ(DataObject.getStringValue(obj));return ;
               case INDEX_HWJL:et.setHWJL(DataObject.getIntegerValue(obj));return ;
    	       default:
    		     throw new Exception("不明属性标识");
    	    }
        }

            /* (non-Javadoc)
             * @see net.ibizsys.paas.data.DataObject#isNull(java.lang.String)
             */
            @Override
    	public boolean isNull(String strParamName) throws Exception
    	{
			 if(this.getProxyEntity()!=null){
		 		return this.getProxyEntity().isNull(strParamName);
		 	}
            if(StringHelper.isNullOrEmpty(strParamName))
                 throw new Exception("没有指定属性");

    	    Integer index=fieldIndexMap.get(strParamName.toUpperCase());
            if(index==null)
                 return super.isNull(strParamName);

    	     return  GG_WORK.isNull(this, index);
    	}

            /**
             * 判断指定属性值是否为空值
             * @param et
             * @param index
             * @return
             * @throws Exception
             */
         private static boolean isNull(GG_WORK et,int index) throws Exception{
             
            switch(index)
    	    {
               case INDEX_GG_WORKID:return et.getGG_WORKId()==null;
               case INDEX_GG_WORKNAME:return et.getGG_WORKName()==null;
               case INDEX_CREATEDATE:return et.getCreateDate()==null;
               case INDEX_CREATEMAN:return et.getCreateMan()==null;
               case INDEX_UPDATEDATE:return et.getUpdateDate()==null;
               case INDEX_UPDATEMAN:return et.getUpdateMan()==null;
               case INDEX_CARDID:return et.getCARDID()==null;
               case INDEX_KSSJ:return et.getKSSJ()==null;
               case INDEX_JSSJ:return et.getJSSJ()==null;
               case INDEX_ZW:return et.getZW()==null;
               case INDEX_DWXZ:return et.getDWXZ()==null;
               case INDEX_BM:return et.getBM()==null;
               case INDEX_DWGM:return et.getDWGM()==null;
               case INDEX_GZMS:return et.getGZMS()==null;
               case INDEX_GZLX:return et.getGZLX()==null;
               case INDEX_HY:return et.getHY()==null;
               case INDEX_ZN:return et.getZN()==null;
               case INDEX_XSRS:return et.getXSRS()==null;
               case INDEX_HBDX:return et.getHBDX()==null;
               case INDEX_LZYY:return et.getLZYY()==null;
               case INDEX_ZYYJ:return et.getZYYJ()==null;
               case INDEX_HWJL:return et.getHWJL()==null;
    	       default:
    		     throw new Exception("不明属性标识");
    	    }
    }

    
         /* (non-Javadoc)
          * @see net.ibizsys.paas.data.DataObject#contains(java.lang.String)
          */
         @Override
    	public boolean contains(String strParamName) throws Exception
    	{
    	 	if(this.getProxyEntity()!=null){
		 		return this.getProxyEntity().contains(strParamName);
		 	}
    	 
            if(StringHelper.isNullOrEmpty(strParamName))
                 throw new Exception("没有指定属性");
    	    Integer index=fieldIndexMap.get(strParamName.toUpperCase());
            if(index==null)
                 return super.contains(strParamName);

    	    return  GG_WORK.contains(this, index);
    	}

    /**
     * 获取判断对象是否存在指定属性值
     * @param et
     * @param index
     * @return
     * @throws Exception
     */
         private static boolean contains(GG_WORK et,int index) throws Exception{
             
            switch(index)
    	    {
               case INDEX_GG_WORKID:return et.isGG_WORKIdDirty();
               case INDEX_GG_WORKNAME:return et.isGG_WORKNameDirty();
               case INDEX_CREATEDATE:return et.isCreateDateDirty();
               case INDEX_CREATEMAN:return et.isCreateManDirty();
               case INDEX_UPDATEDATE:return et.isUpdateDateDirty();
               case INDEX_UPDATEMAN:return et.isUpdateManDirty();
               case INDEX_CARDID:return et.isCARDIDDirty();
               case INDEX_KSSJ:return et.isKSSJDirty();
               case INDEX_JSSJ:return et.isJSSJDirty();
               case INDEX_ZW:return et.isZWDirty();
               case INDEX_DWXZ:return et.isDWXZDirty();
               case INDEX_BM:return et.isBMDirty();
               case INDEX_DWGM:return et.isDWGMDirty();
               case INDEX_GZMS:return et.isGZMSDirty();
               case INDEX_GZLX:return et.isGZLXDirty();
               case INDEX_HY:return et.isHYDirty();
               case INDEX_ZN:return et.isZNDirty();
               case INDEX_XSRS:return et.isXSRSDirty();
               case INDEX_HBDX:return et.isHBDXDirty();
               case INDEX_LZYY:return et.isLZYYDirty();
               case INDEX_ZYYJ:return et.isZYYJDirty();
               case INDEX_HWJL:return et.isHWJLDirty();
    	       default:
    		     throw new Exception("不明属性标识");
    	    }
    }

         /* (non-Javadoc)
          * @see net.ibizsys.paas.data.DataObject#onFillJSONObject(net.sf.json.JSONObject, boolean)
          */
    @Override
      protected void onFillJSONObject(JSONObject objJSON, boolean bIncludeEmpty) throws Exception
      {
          fillJSONObject(this,objJSON,bIncludeEmpty);
          super.onFillJSONObject(objJSON, bIncludeEmpty);
       }
        
    /**
     * 填充当前对象到JSON
     * @param et 当前数据对象
     * @param json JSON对象
     * @param bIncEmpty 是否包括空值
     * @throws Exception
     */
        private static  void fillJSONObject(GG_WORK et,JSONObject json, boolean bIncEmpty) throws Exception
        {
                if(bIncEmpty||et.getGG_WORKId()!=null)
        	{
                	JSONObjectHelper.put(json,"gg_workid",getJSONValue(et.getGG_WORKId()),false);
        	}
                if(bIncEmpty||et.getGG_WORKName()!=null)
        	{
                	JSONObjectHelper.put(json,"gg_workname",getJSONValue(et.getGG_WORKName()),false);
        	}
                if(bIncEmpty||et.getCreateDate()!=null)
        	{
                	JSONObjectHelper.put(json,"createdate",getJSONValue(et.getCreateDate()),false);
        	}
                if(bIncEmpty||et.getCreateMan()!=null)
        	{
                	JSONObjectHelper.put(json,"createman",getJSONValue(et.getCreateMan()),false);
        	}
                if(bIncEmpty||et.getUpdateDate()!=null)
        	{
                	JSONObjectHelper.put(json,"updatedate",getJSONValue(et.getUpdateDate()),false);
        	}
                if(bIncEmpty||et.getUpdateMan()!=null)
        	{
                	JSONObjectHelper.put(json,"updateman",getJSONValue(et.getUpdateMan()),false);
        	}
                if(bIncEmpty||et.getCARDID()!=null)
        	{
                	JSONObjectHelper.put(json,"cardid",getJSONValue(et.getCARDID()),false);
        	}
                if(bIncEmpty||et.getKSSJ()!=null)
        	{
                	JSONObjectHelper.put(json,"kssj",getJSONValue(et.getKSSJ()),false);
        	}
                if(bIncEmpty||et.getJSSJ()!=null)
        	{
                	JSONObjectHelper.put(json,"jssj",getJSONValue(et.getJSSJ()),false);
        	}
                if(bIncEmpty||et.getZW()!=null)
        	{
                	JSONObjectHelper.put(json,"zw",getJSONValue(et.getZW()),false);
        	}
                if(bIncEmpty||et.getDWXZ()!=null)
        	{
                	JSONObjectHelper.put(json,"dwxz",getJSONValue(et.getDWXZ()),false);
        	}
                if(bIncEmpty||et.getBM()!=null)
        	{
                	JSONObjectHelper.put(json,"bm",getJSONValue(et.getBM()),false);
        	}
                if(bIncEmpty||et.getDWGM()!=null)
        	{
                	JSONObjectHelper.put(json,"dwgm",getJSONValue(et.getDWGM()),false);
        	}
                if(bIncEmpty||et.getGZMS()!=null)
        	{
                	JSONObjectHelper.put(json,"gzms",getJSONValue(et.getGZMS()),false);
        	}
                if(bIncEmpty||et.getGZLX()!=null)
        	{
                	JSONObjectHelper.put(json,"gzlx",getJSONValue(et.getGZLX()),false);
        	}
                if(bIncEmpty||et.getHY()!=null)
        	{
                	JSONObjectHelper.put(json,"hy",getJSONValue(et.getHY()),false);
        	}
                if(bIncEmpty||et.getZN()!=null)
        	{
                	JSONObjectHelper.put(json,"zn",getJSONValue(et.getZN()),false);
        	}
                if(bIncEmpty||et.getXSRS()!=null)
        	{
                	JSONObjectHelper.put(json,"xsrs",getJSONValue(et.getXSRS()),false);
        	}
                if(bIncEmpty||et.getHBDX()!=null)
        	{
                	JSONObjectHelper.put(json,"hbdx",getJSONValue(et.getHBDX()),false);
        	}
                if(bIncEmpty||et.getLZYY()!=null)
        	{
                	JSONObjectHelper.put(json,"lzyy",getJSONValue(et.getLZYY()),false);
        	}
                if(bIncEmpty||et.getZYYJ()!=null)
        	{
                	JSONObjectHelper.put(json,"zyyj",getJSONValue(et.getZYYJ()),false);
        	}
                if(bIncEmpty||et.getHWJL()!=null)
        	{
                	JSONObjectHelper.put(json,"hwjl",getJSONValue(et.getHWJL()),false);
        	}
        }

        /* (non-Javadoc)
         * @see net.ibizsys.paas.data.DataObject#onFillXmlNode(net.ibizsys.paas.xml.XmlNode, boolean)
         */
     @Override
      protected void onFillXmlNode(XmlNode xmlNode,boolean bIncludeEmpty) throws Exception
      {
           fillXmlNode(this,xmlNode,bIncludeEmpty);
           super.onFillXmlNode(xmlNode, bIncludeEmpty);
       }
        
     /**
      * 填充当前对象到Xml节点中
      * @param et 当前数据对象
      * @param node Xml节点
      * @param bIncEmpty 是否包括空值
      * @throws Exception
      */
        private static void fillXmlNode(GG_WORK et,XmlNode node,boolean bIncEmpty) throws Exception
        {
                if(bIncEmpty||et.getGG_WORKId()!=null)
        	{
                    Object obj = et.getGG_WORKId();
                    node.setAttribute("GG_WORKID",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getGG_WORKName()!=null)
        	{
                    Object obj = et.getGG_WORKName();
                    node.setAttribute("GG_WORKNAME",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getCreateDate()!=null)
        	{
                    Object obj = et.getCreateDate();
                    node.setAttribute("CREATEDATE",(obj==null)?"":StringHelper.format("%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",obj));
         	}
                if(bIncEmpty||et.getCreateMan()!=null)
        	{
                    Object obj = et.getCreateMan();
                    node.setAttribute("CREATEMAN",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getUpdateDate()!=null)
        	{
                    Object obj = et.getUpdateDate();
                    node.setAttribute("UPDATEDATE",(obj==null)?"":StringHelper.format("%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",obj));
         	}
                if(bIncEmpty||et.getUpdateMan()!=null)
        	{
                    Object obj = et.getUpdateMan();
                    node.setAttribute("UPDATEMAN",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getCARDID()!=null)
        	{
                    Object obj = et.getCARDID();
                    node.setAttribute("CARDID",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getKSSJ()!=null)
        	{
                    Object obj = et.getKSSJ();
                    node.setAttribute("KSSJ",(obj==null)?"":StringHelper.format("%1$tY-%1$tm-%1$td",obj));
         	}
                if(bIncEmpty||et.getJSSJ()!=null)
        	{
                    Object obj = et.getJSSJ();
                    node.setAttribute("JSSJ",(obj==null)?"":StringHelper.format("%1$tY-%1$tm-%1$td",obj));
         	}
                if(bIncEmpty||et.getZW()!=null)
        	{
                    Object obj = et.getZW();
                    node.setAttribute("ZW",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getDWXZ()!=null)
        	{
                    Object obj = et.getDWXZ();
                    node.setAttribute("DWXZ",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getBM()!=null)
        	{
                    Object obj = et.getBM();
                    node.setAttribute("BM",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getDWGM()!=null)
        	{
                    Object obj = et.getDWGM();
                    node.setAttribute("DWGM",(obj==null)?"":StringHelper.format("%1$s",obj));
         	}
                if(bIncEmpty||et.getGZMS()!=null)
        	{
                    Object obj = et.getGZMS();
                    node.setAttribute("GZMS",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getGZLX()!=null)
        	{
                    Object obj = et.getGZLX();
                    node.setAttribute("GZLX",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getHY()!=null)
        	{
                    Object obj = et.getHY();
                    node.setAttribute("HY",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getZN()!=null)
        	{
                    Object obj = et.getZN();
                    node.setAttribute("ZN",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getXSRS()!=null)
        	{
                    Object obj = et.getXSRS();
                    node.setAttribute("XSRS",(obj==null)?"":StringHelper.format("%1$s",obj));
         	}
                if(bIncEmpty||et.getHBDX()!=null)
        	{
                    Object obj = et.getHBDX();
                    node.setAttribute("HBDX",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getLZYY()!=null)
        	{
                    Object obj = et.getLZYY();
                    node.setAttribute("LZYY",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getZYYJ()!=null)
        	{
                    Object obj = et.getZYYJ();
                    node.setAttribute("ZYYJ",(obj==null)?"":(String)obj);
         	}
                if(bIncEmpty||et.getHWJL()!=null)
        	{
                    Object obj = et.getHWJL();
                    node.setAttribute("HWJL",(obj==null)?"":StringHelper.format("%1$s",obj));
         	}


        }

        /* (non-Javadoc)
         * @see net.ibizsys.paas.entity.EntityBase#onCopyTo(net.ibizsys.paas.data.IDataObject, boolean)
         */
	    @Override
	   	protected void onCopyTo(IDataObject dataEntity, boolean bIncludeEmtpy) throws Exception
	  	{
	          GG_WORK.copyTo(this,dataEntity,bIncludeEmtpy);
	          super.onCopyTo(dataEntity,bIncludeEmtpy);
	  	}
        
	    /**
         * 复制当前对象数据到目标对象
         * @param et 当前数据对象
         * @param dst 目标数据对象
         * @param bIncEmpty 是否包括空值
         * @throws Exception
         */
        private static void copyTo(GG_WORK et,IDataObject dst,boolean bIncEmpty) throws Exception
        {
            if(et.isGG_WORKIdDirty() && (bIncEmpty||et.getGG_WORKId()!=null))
        	{
        		dst.set(FIELD_GG_WORKID,et.getGG_WORKId());
         	}
            if(et.isGG_WORKNameDirty() && (bIncEmpty||et.getGG_WORKName()!=null))
        	{
        		dst.set(FIELD_GG_WORKNAME,et.getGG_WORKName());
         	}
            if(et.isCreateDateDirty() && (bIncEmpty||et.getCreateDate()!=null))
        	{
        		dst.set(FIELD_CREATEDATE,et.getCreateDate());
         	}
            if(et.isCreateManDirty() && (bIncEmpty||et.getCreateMan()!=null))
        	{
        		dst.set(FIELD_CREATEMAN,et.getCreateMan());
         	}
            if(et.isUpdateDateDirty() && (bIncEmpty||et.getUpdateDate()!=null))
        	{
        		dst.set(FIELD_UPDATEDATE,et.getUpdateDate());
         	}
            if(et.isUpdateManDirty() && (bIncEmpty||et.getUpdateMan()!=null))
        	{
        		dst.set(FIELD_UPDATEMAN,et.getUpdateMan());
         	}
            if(et.isCARDIDDirty() && (bIncEmpty||et.getCARDID()!=null))
        	{
        		dst.set(FIELD_CARDID,et.getCARDID());
         	}
            if(et.isKSSJDirty() && (bIncEmpty||et.getKSSJ()!=null))
        	{
        		dst.set(FIELD_KSSJ,et.getKSSJ());
         	}
            if(et.isJSSJDirty() && (bIncEmpty||et.getJSSJ()!=null))
        	{
        		dst.set(FIELD_JSSJ,et.getJSSJ());
         	}
            if(et.isZWDirty() && (bIncEmpty||et.getZW()!=null))
        	{
        		dst.set(FIELD_ZW,et.getZW());
         	}
            if(et.isDWXZDirty() && (bIncEmpty||et.getDWXZ()!=null))
        	{
        		dst.set(FIELD_DWXZ,et.getDWXZ());
         	}
            if(et.isBMDirty() && (bIncEmpty||et.getBM()!=null))
        	{
        		dst.set(FIELD_BM,et.getBM());
         	}
            if(et.isDWGMDirty() && (bIncEmpty||et.getDWGM()!=null))
        	{
        		dst.set(FIELD_DWGM,et.getDWGM());
         	}
            if(et.isGZMSDirty() && (bIncEmpty||et.getGZMS()!=null))
        	{
        		dst.set(FIELD_GZMS,et.getGZMS());
         	}
            if(et.isGZLXDirty() && (bIncEmpty||et.getGZLX()!=null))
        	{
        		dst.set(FIELD_GZLX,et.getGZLX());
         	}
            if(et.isHYDirty() && (bIncEmpty||et.getHY()!=null))
        	{
        		dst.set(FIELD_HY,et.getHY());
         	}
            if(et.isZNDirty() && (bIncEmpty||et.getZN()!=null))
        	{
        		dst.set(FIELD_ZN,et.getZN());
         	}
            if(et.isXSRSDirty() && (bIncEmpty||et.getXSRS()!=null))
        	{
        		dst.set(FIELD_XSRS,et.getXSRS());
         	}
            if(et.isHBDXDirty() && (bIncEmpty||et.getHBDX()!=null))
        	{
        		dst.set(FIELD_HBDX,et.getHBDX());
         	}
            if(et.isLZYYDirty() && (bIncEmpty||et.getLZYY()!=null))
        	{
        		dst.set(FIELD_LZYY,et.getLZYY());
         	}
            if(et.isZYYJDirty() && (bIncEmpty||et.getZYYJ()!=null))
        	{
        		dst.set(FIELD_ZYYJ,et.getZYYJ());
         	}
            if(et.isHWJLDirty() && (bIncEmpty||et.getHWJL()!=null))
        	{
        		dst.set(FIELD_HWJL,et.getHWJL());
         	}
        }
        
        /* (non-Javadoc)
         * @see net.ibizsys.paas.data.DataObject#remove(java.lang.String)
         */
        @Override
    	public boolean remove(String strParamName) throws Exception
    	{
        	if(this.getProxyEntity()!=null){
		 		return this.getProxyEntity().remove(strParamName);
		 	}
        	
            if(StringHelper.isNullOrEmpty(strParamName))
                 throw new Exception("没有指定属性");
            Integer index=fieldIndexMap.get(strParamName.toUpperCase());
            if(index==null)
                 return super.remove(strParamName);
            return  GG_WORK.remove(this, index);
    	}
        
        /**
         * 通过属性标识删除属性值
         * @param entity
         * @param index
         * @return
         * @throws Exception
         */
        private static boolean remove(GG_WORK et,int index) throws Exception
        {
        	switch(index)
        	{
				case INDEX_GG_WORKID: et.resetGG_WORKId();return true;
				case INDEX_GG_WORKNAME: et.resetGG_WORKName();return true;
				case INDEX_CREATEDATE: et.resetCreateDate();return true;
				case INDEX_CREATEMAN: et.resetCreateMan();return true;
				case INDEX_UPDATEDATE: et.resetUpdateDate();return true;
				case INDEX_UPDATEMAN: et.resetUpdateMan();return true;
				case INDEX_CARDID: et.resetCARDID();return true;
				case INDEX_KSSJ: et.resetKSSJ();return true;
				case INDEX_JSSJ: et.resetJSSJ();return true;
				case INDEX_ZW: et.resetZW();return true;
				case INDEX_DWXZ: et.resetDWXZ();return true;
				case INDEX_BM: et.resetBM();return true;
				case INDEX_DWGM: et.resetDWGM();return true;
				case INDEX_GZMS: et.resetGZMS();return true;
				case INDEX_GZLX: et.resetGZLX();return true;
				case INDEX_HY: et.resetHY();return true;
				case INDEX_ZN: et.resetZN();return true;
				case INDEX_XSRS: et.resetXSRS();return true;
				case INDEX_HBDX: et.resetHBDX();return true;
				case INDEX_LZYY: et.resetLZYY();return true;
				case INDEX_ZYYJ: et.resetZYYJ();return true;
				case INDEX_HWJL: et.resetHWJL();return true;
				default: throw new Exception("不明属性标识");
			}
        }


     private Object objCARDLock = new Object();
     private com.sa.litetwo.srv.card.entity.GG_CARD card = null;
     /**
     * 获取父数据 简历信息卡
      * @throws Exception
     */
    public com.sa.litetwo.srv.card.entity.GG_CARD getCARD() throws Exception
    {
    	if(this.getProxyEntity()!=null){
	 		return this.getProxyEntity().getCARD();
	 	}
    	
        if(this.getCARDID()==null)
             return null;
        synchronized(objCARDLock)
        {
        	if(card==null)
        	{
        		card = new com.sa.litetwo.srv.card.entity.GG_CARD();
        		card.setGG_CARDId(this.getCARDID());
     	        com.sa.litetwo.srv.card.service.GG_CARDService service = (com.sa.litetwo.srv.card.service.GG_CARDService)ServiceGlobal.getService(com.sa.litetwo.srv.card.service.GG_CARDService.class,this.getSessionFactory()); 
     	          if(this.getCARDID().indexOf(net.ibizsys.paas.service.ServiceBase.TEMPKEY) == 0)
     	             service.getTemp(card);
     	        else
     	            service.get(card);
        	}
	        return card;
        }
    }





	/**
	 *  获取代理的数据对象
	 */
	private GG_WORK getProxyEntity(){return this.proxyGG_WORK;}

	/* (non-Javadoc)
	 * @see net.ibizsys.paas.data.DataObject#onProxy(net.ibizsys.paas.data.IDataObject)
	 */
	@Override
	protected void onProxy(IDataObject proxyDataObject)
	{
		this.proxyGG_WORK = null;
		if(proxyDataObject!=null && proxyDataObject instanceof GG_WORK){
			this.proxyGG_WORK = (GG_WORK)proxyDataObject;
		}
			
	}

}